Skip to content

Conversation

@zestrada
Copy link

This PR skips creation of a device from the devtable file if the parent of that device is not a directory.

Ran into this when rebuilding a filesystem extracted from an existing image. We use a devtable to add back devices that might be missed during extraction. Sometimes you'll get stuff like /dev/mtd0 in the existing image but the default devtable has entries like /dev/mtd/0. This change allows genext2fs to be a little more robust in use cases like ours.

@AndrewFasano AndrewFasano force-pushed the master branch 6 times, most recently from 14d6f12 to 613425d Compare December 16, 2023 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants